home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Parnet.adf / Utilities / Remove.NET < prev    next >
AmigaDOS Script File  |  1992-12-16  |  2KB  |  86 lines

  1. .key ""
  2.   echo " "
  3.   echo "*e[33mParNET REMOVE Script V3.0 ©1992 Vernon Graner*e[31m"
  4.   echo " "
  5.   echo "This script will DELETE the ParNET files from your"
  6.   echo "Amiga hard drive!"
  7.   echo " "
  8.   echo "WARNING!!!! This script will NOT work if"
  9.   echo "You Booted from this floppy!!!"
  10.   echo " "
  11.   echo "This script will remove files from the"
  12.   echo "  L:    Directory"
  13.   echo "  DEVS: Directory"
  14.   echo "  C:    Directory"
  15.   echo "  S:    Directory"
  16.   echo "and COMPLETELY DELETE the ParNET Drawer and ALL CONTENTS!"
  17.   echo ""
  18.   echo "AFTER REMOVING THESE FILES PARNET WILL NO LONGER FUNCTION!"
  19.   echo ""
  20. ask "*e[32mAre you SURE you want to continue (Y/N) ?*e[31m"
  21. if warn
  22. ; make SURE the user did NOT boot from the install disk!
  23.   if exists SYS:Keys/Original
  24.     echo " "
  25.     echo "WARNING! WARNING! WARNING! WARNING! WARNING!"
  26.     echo "      Deletion Protection key found!        "
  27.     echo " "
  28.     echo "THIS SCRIPT WILL NOT WORK IF YOU HAVE BOOTED FROM THE PARNET FLOPPY!"
  29.     echo " "
  30.     echo "Boot from the device you wish to have ParNET removed from"
  31.     echo "then run this script again!"
  32.     wait 10
  33.   else
  34.  
  35. ;         >>>>>>>> Begin Actually Removing files here <<<<<<<<
  36.  
  37.     echo "*e[0;0H*e[J"  ;Clears the screen
  38.     echo " "
  39.     echo "Removing PARNet.Device From DEVS:....*e[32m    "NOLINE
  40.        Delete DEVS:PARNet.device
  41.     echo "*e[31m"NOLINE
  42.  
  43.     echo "Removing NETPNET-Handler from L:....*e[32m    "NOLINE 
  44.        Delete L:NETPNET-handler
  45.     echo "*e[31m"NOLINE
  46.  
  47.     echo "Removing Mouse-Handler from L:....*e[32m    "NOLINE 
  48.        Delete L:Mouse-handler
  49.     echo "*e[31m"NOLINE
  50.  
  51.     echo "Removing NETPNET-Server from C:....*e[32m    "NOLINE
  52.        Delete C:NETPNet-server
  53.     echo "*e[31m"NOLINE
  54.  
  55.     echo "Removing NetStat from C:....*e[32m        "NOLINE
  56.        Delete C:NetStat
  57.     echo "*e[31m"NOLINE
  58.  
  59.     echo "Removing ParNET-DriveList from S:...*e[32m    "NOLINE
  60.        Delete S:ParNET-DriveList
  61.     echo "*e[31m"NOLINE
  62.  
  63.     echo "Removing Network Icons...*e[32m        "NOLINE
  64.        Delete SYS:PARNet/node.rinfo
  65.     echo "*e[31m"NOLINE
  66.  
  67.     echo "Removing Mountlist from DEVS:...*e[32m"
  68.        Delete DEVS:Mountlist.ParNET#?
  69.     echo "*e[31m"NOLINE
  70.  
  71.     echo "Removing the ParNET drawer & Contents from SYS:...*e[32m"
  72.        Delete SYS:PARNET ALL 
  73.        Delete SYS:ParNET.info 
  74.     echo "*e[31m"NOLINE
  75.  
  76.     echo " "
  77.     echo "Removal Complete!"
  78.   endif
  79. else
  80.   echo " "
  81.   echo "Parnet Removal Cancelled."
  82.   endcli 
  83. endif
  84.  
  85.  
  86.